<h1><?=$this->translate->_('header_mod_rank')?></h1>

<?if($this->count > 0):?>
	<br />
	<table summary="ranks">
	<tr>
		<th width="200px"><?=$this->translate->_('rank_title')?></th>
		<th style="text-align:center;" width="80px"><?=$this->translate->_('rank_xpbegin')?></th>
		<th style="text-align:center;" width="80px"><?=$this->translate->_('rank_xpend')?></th>
	</tr>
	<?foreach($this->results AS $content):?>
	<tr>
		<td><?=$content['title']?><br /><span style="color:#666; font-size:0.8em;"><strong><?=$this->translate->_('rank_lang')?></strong> <?=$content['lang_key']?> (<?=$this->translate->_($content['lang_key'])?>)</span></td>
		<td style="text-align:center; font-size:0.8em;"><?=$content['xp_begin']?></td>
		<td style="text-align:center; font-size:0.8em;"><?=$content['xp_end']?></td>
	</tr>
	<?endforeach;?>
	</table>
<?else:?>
	<p class="notice_bad"><?=$this->translate->_('rank_error')?></p>
<?endif;?>